import axios from '@/axios.js'

export function getArticleDetail(articleId) {
    return axios.post("/article/detail", {articleId})
}

// 搜索文章接口
export function searchArticles(title) {
    return axios.post("/article/search", {title})
}